package com.example.sprinbootdemo.service;


import com.example.sprinbootdemo.entity.Owner;

import java.util.List;

public interface OwnerService {
    List<Owner> getAllOwners();
    void addOwner(Owner owner);
    void deleteOwnerById(int ownerId);
    void updateOwnerById(Owner owner);
    List<Owner> getOwnersByName(String name);
}